<%@ page import="com.surelution.cppei.weixin.gate.QrAssign" %>



<div class="fieldcontain ${hasErrors(bean: qrAssignInstance, field: 'subAccount', 'error')} required">
	<label for="subAccount">
		<g:message code="qrAssign.subAccount.label" default="Sub Account" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="subAccount" name="subAccount.id" from="${com.surelution.cppei.weixin.gate.SubAccount.list()}" optionKey="id" optionValue="name" required="" value="${qrAssignInstance?.subAccount?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: qrAssignInstance, field: 'codeFrom', 'error')} required">
	<label for="codeFrom">
		<g:message code="qrAssign.codeFrom.label" default="Code From" />
		<span class="required-indicator">*</span>
	</label>
	<g:field name="codeFrom" type="number" value="${qrAssignInstance.codeFrom}" required=""/>
</div>

<div class="fieldcontain ${hasErrors(bean: qrAssignInstance, field: 'codeTo', 'error')} required">
	<label for="codeTo">
		<g:message code="qrAssign.codeTo.label" default="Code To" />
		<span class="required-indicator">*</span>
	</label>
	<g:field name="codeTo" type="number" value="${qrAssignInstance.codeTo}" required=""/>
</div>

